<template>
	<view>
		<text>{{name}}</text>
		<image :src="src" mode=""></image>
		<input type="text" :value="value" @input="$emit('input',$event.target.value)">
		<button type="default" @click="handleForward">跳转</button>
		<navigator url="../../pages/index/index?id=888888" hover-class="navigator-hover">
			<button type="default">跳转到新页面</button>
		</navigator>
	</view>
</template>

<script>
	export default {
		name:"FilmItem",
		props:["name","src","value"],
		data() {
			return {
				
			};
		},
		methods:{
			handleForward(){
				uni.navigateTo({
					url:"../../pages/index/index?id=123456"
				})
			}
		}
	}
</script>

<style>

</style>